package com.xiaoyu.lanling.feature.chat.model.message

import `in`.srain.cube.util.TimeUtils
import com.xiaoyu.im.datamodel.AppMessage
import com.xiaoyu.lanling.feature.chat.viewholder.ChatViewHolderManager

class ChatMessageTimeItem(message: AppMessage) : ChatMessageBaseItem(message) {
    val time: String = TimeUtils.getServerTime(message.getDisplayTime())

    override fun getViewType(): Int {
        return ChatViewHolderManager.TYPE_TIME
    }
}